package com.lijie.ljblog.model.vo;

import com.lijie.ljblog.enums.ChessColorEnum;
import lombok.Data;

/**
 * @Description 五子棋服务器端返回VO对象
 * @Author lijie
 * @Date 2022/8/27 13:57
 **/
@Data
public class ChessResponseVO {

    private int x;
    private int y;
    /**
     * 胜者Id
     */
    private int winnerUserId;

    private int color;

    public ChessResponseVO(int x,int y,ChessColorEnum colorEnum){
        this.x=x;
        this.y=y;
        this.color=colorEnum.getVal();
    }
    public ChessResponseVO(){

    }

}
